#ifndef _STRUCT_H
#define _STRUCT_H

#include <QString>
#include <QFile>
#include <QTextStream>

typedef struct FnBtn{
    bool Fn1;
    bool Fn2;
    bool Fn3;
    bool Fn4;
}ST_FnBtn;

typedef struct DirectionBtn{
    bool XN;
    bool XP;

    bool YN;
    bool YP;

    bool ZN;
    bool ZP;

    bool AN;
    bool AP;

    bool BN;
    bool BP;

    bool CN;
    bool CP;

    bool E1N;
    bool E1P;

    bool E2N;
    bool E2P;
}ST_DirectionBtn;

typedef struct SystemBtn{
    bool EStop;
    bool vPower;
    bool Pause;
    bool Run;
    bool Stop;
}ST_SystemBtn;

typedef struct OperationInfo{
    int    ToolNumber;
    int    WorkNumber;
    short  MotionCoordinate;
    short  OperationMode;
    double MannualOvn;
    double ProgramOvn;
}ST_OperationInfo;

#endif // _STRUCT_H
